﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Legou365.Web.Controllers
{
    public class HomeController : Controller
    {
        /// <summary>
        /// 首页
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            ViewBag.Message = "Welcome to ASP.NET MVC!";

            return View();
        }

        /// <summary>
        ///   联系我们/关于我们
        /// </summary>
        /// <returns></returns>
        public ActionResult About()
        {
            return View();
        }

        /// <summary>
        /// 常见问答
        /// </summary>
        /// <returns></returns>
        public ActionResult FAQ()
        {
            return View();
        }

        /// <summary>
        ///  代购流程
        /// </summary>
        /// <returns></returns>
        [ActionName("How-It-Works")]
        public ActionResult HowItWorks()
        {
            return View("HowItWorks");
        }

        /// <summary>
        /// 隐私声明
        /// </summary>
        /// <returns></returns>
        [ActionName("Privacy-Policy")]
        public ActionResult PrivacyPolicy()
        {
            return View("PrivacyPolicy");
        }

        /// <summary>
        /// 使用条款
        /// </summary>
        /// <returns></returns>
        [ActionName("Terms-Of-Use")]
        public ActionResult TermsOfUse()
        {
            return View("TermsOfUse");
        }

        public ActionResult OnlyTest()
        {
            return View();
        }
    }
}
